/*
 * @Description: 赋权申请列表
 * @Author: Rfan
 * @Date: 2022-03-29 13:38:16
 * @LastEditTime: 2022-04-02 17:10:15
 */

import classNames from 'classnames/bind';
import { RightApplyContextProvider } from './contexts/RightApplyContext';
import ApplyPage from './components/ApplyPage';
import MainOperate from './components/MainOperate';
import ApproveDialog from './components/dialogs/ApproveDialog';

import styles from './styles/applyMain.module.scss';

const cx = classNames.bind(styles);

const UseRightApplyMain = () => {
  return (
    <>
      <RightApplyContextProvider>
        <div>
          <MainOperate />
          <div className={cx('list-wrap')}>
            <ApplyPage />
            <ApproveDialog />
          </div>
        </div>
      </RightApplyContextProvider>
    </>
  );
};

export default UseRightApplyMain;
